# -*- coding: utf-8 -*-

"""
* Copyright (C) 2016 GridSafe, Inc.
"""

OPERATION_SUCCESS = '00000'
PLACE_ORDER_SUCCESS = '00000'
RECHARGE_FAIL = '10000'
ACCOUNT_NOT_EXIST = '10001'
NEED_REFRESH_ACCESS_TOKEN = '10002'
ARGUMENT_MISSING = '10003'
INVALID_SIGNATURE = '10004'
ERROR_ARGUMENT = '10005'

ERROR_MESSAGES = {
    OPERATION_SUCCESS: '成功',
    RECHARGE_FAIL: '失败',
    NEED_REFRESH_ACCESS_TOKEN: 'access_token过期需要更新',
    ARGUMENT_MISSING: '参数缺失',
    INVALID_SIGNATURE: '非法签名',
    ERROR_ARGUMENT: '参数错误'

}
